From: Emmanuele Bassi Date: Sun, 11 Feb 2018 15:37:22 +0000 (+0000) Subject: selection: Disable deprecation warnings X-Git-Tag: archive/raspbian/3.24.39-1+rpi1~1^2~65^2~38^2~14 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=81c0e7af0ed73898b2dab0868552927910f008e9;p=gtk%2B3.0.git selection: Disable deprecation warnings We are using a lot of deprecated API, and we know it. Since the selection code is going to be replaced in GTK 4.0, there's no real point in keeping the warnings enabled in 3.22. --- diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c index 0c1f98d756..9842f2dfc3 100644 --- a/gtk/gtkselection.c +++ b/gtk/gtkselection.c @@ -75,6 +75,9 @@ * associated information. */ +/* We are using deprecated API, here, and we know that */ +#define GDK_DISABLE_DEPRECATION_WARNINGS + #include "config.h" #include "gtkselection.h"